home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 2155 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: willis.cis.uab.edu!not-for-mail
  2. From: freund@willis.cis.uab.edu (Jason Freund)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: PhonePak AREXX Question
  5. Date: 21 Feb 1996 19:37:56 -0600
  6. Organization: Dept of CIS, Univ. of Al at Birmingham
  7. Message-ID: <4gghdk$fp7@oxmoor.cis.uab.edu>
  8. NNTP-Posting-Host: oxmoor.cis.uab.edu
  9.  
  10. Hi,
  11.   I want a mailbox that asks for several sets of numbers to be keyed in to
  12. be used in an AREXX script.  Right now, the only way I know to do this is 
  13. to set up a sequence of mailboxes, each one says: "Enter info#1" and then 
  14. calls an AREXX routine to save that info into a tempfile so that future AREXX 
  15. routines can use it.  When the first AREXX routine is finished, I want to 
  16. return to PPAK and have it jump to the next box where it will say: "Enter
  17. info #2", etc.  
  18.  
  19.   The problem is that when the first AREXX routine finishes, PPAK says:
  20. "Thank you, and Goodbye." and then hangs up.  It does not follow the mailbox's
  21. default pointer and I don't know how to get it to jump to another mailbox.  
  22. I am using: "call reply(pkt,0)" to reply.
  23.   
  24. The manual (p. 178) says:
  25.    "After LineMan issues the AREXX command, it will then pause while your
  26.    program takes whatever action is appropriate.  Your program must reply to
  27.    the command when it has finished processing.  A non-zero result code will
  28.    end the call.  If the result is zero, LineMan will look for a pointer to
  29.    an argstring in the secondary result code which represents the name
  30.    of the mailbox to go to in all capital letters."
  31.  
  32.   I did give lineman a reply code of zero, but I don't know how to give it
  33. a pointer to an argstring in the "secondary result code" with the name of
  34. the next mailbox to jump to.  Can someone give me a couple of AREXX lines
  35. of code thay basically do
  36. 1. reply to lineman with 0
  37. 2. Tell lineman to jump to MBOX2 using some secondary result code
  38.  
  39. Thanks,
  40. -- 
  41. Jason Freund             Addr: 413-B Poplar Place     email: freund@cis.uab.edu
  42. Phone: 205-802-7345(V/F)       Birmingham, AL 35209   Amiga3000 & 486/Linux
  43. http://www.cis.uab.edu/info/grads/jlf/jason.html
  44.